package com.qys.livesMall.shop.modal.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author yxh
 */
@Data
@Schema(name = "QueryAddressVO", description = "地区查询VO")
public class QueryAddressVO {

    @JsonSerialize(using = ToStringSerializer.class)
    @Schema(description = "区域ID")
    private Integer areaId;

    @Schema(description = "区域名称")
    private String areaName;

    @Schema(description = "层级（0国家，1州/省，2市，3县）")
    private Integer level;

}
